
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.CurePig;
import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Except;
import cn.edu.scau.cmi.hombio.domain.ExceptionTypeEmployee;
import cn.edu.scau.cmi.hombio.domain.Feed;
import cn.edu.scau.cmi.hombio.domain.FodderStorage;
import cn.edu.scau.cmi.hombio.domain.FodderTake;
import cn.edu.scau.cmi.hombio.domain.Inspection;
import cn.edu.scau.cmi.hombio.domain.MedicineStorage;
import cn.edu.scau.cmi.hombio.domain.MedicineTake;
import cn.edu.scau.cmi.hombio.domain.Prevention;
import cn.edu.scau.cmi.hombio.domain.RoleEmployee;
import cn.edu.scau.cmi.hombio.domain.Sale;
import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskEmployee;
import cn.edu.scau.cmi.hombio.domain.TaskManage;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Employee entities
 * 
 */
public interface EmployeeService {

	/**
	* Save an existing Feed entity
	* 
	 */
	public Employee saveEmployeeFeeds(Integer id, Feed related_feeds);

	/**
	* Save an existing TaskManage entity
	* 
	 */
	public Employee saveEmployeeTaskManages(Integer id_1, TaskManage related_taskmanages);

	/**
	* Save an existing FodderTake entity
	* 
	 */
	public Employee saveEmployeeFodderTakesForEmployeeId(Integer id_2, FodderTake related_foddertakesforemployeeid);

	/**
	* Load an existing Employee entity
	* 
	 */
	public Set<Employee> loadEmployees();

	/**
	* Save an existing Except entity
	* 
	 */
	public Employee saveEmployeeExcepts(Integer id_3, Except related_excepts);

	/**
	* Delete an existing CurePig entity
	* 
	 */
	public Employee deleteEmployeeCurePigs(Integer employee_id, Integer related_curepigs_id);

	/**
	* Delete an existing Except entity
	* 
	 */
	public Employee deleteEmployeeExcepts(Integer employee_id_1, Integer related_excepts_id);

	/**
	* Save an existing TaskEmployee entity
	* 
	 */
	public Employee saveEmployeeTaskEmployees(Integer id_4, TaskEmployee related_taskemployees);

	/**
	* Save an existing CurePig entity
	* 
	 */
	public Employee saveEmployeeCurePigs(Integer id_5, CurePig related_curepigs);

	/**
	* Delete an existing FodderTake entity
	* 
	 */
	public Employee deleteEmployeeFodderTakesForWarehousekepperId(Integer employee_id_2, Integer related_foddertakesforwarehousekepperid_id);

	/**
	* Delete an existing ExceptionTypeEmployee entity
	* 
	 */
	public Employee deleteEmployeeExceptionTypeEmployees(Integer employee_id_3, Integer related_exceptiontypeemployees_id);

	/**
	 */
	public Employee findEmployeeByPrimaryKey(Integer id_6);

	/**
	* Save an existing MedicineStorage entity
	* 
	 */
	public Employee saveEmployeeMedicineStorages(Integer id_7, MedicineStorage related_medicinestorages);

	/**
	* Delete an existing Prevention entity
	* 
	 */
	public Employee deleteEmployeePreventions(Integer employee_id_4, Integer related_preventions_id);

	/**
	* Delete an existing MedicineTake entity
	* 
	 */
	public Employee deleteEmployeeMedicineTakesForPharmacistId(Integer employee_id_5, Integer related_medicinetakesforpharmacistid_id);

	/**
	* Save an existing MedicineTake entity
	* 
	 */
	public Employee saveEmployeeMedicineTakesForTakerId(Integer id_8, MedicineTake related_medicinetakesfortakerid);

	/**
	* Save an existing ExceptionTypeEmployee entity
	* 
	 */
	public Employee saveEmployeeExceptionTypeEmployees(Integer id_9, ExceptionTypeEmployee related_exceptiontypeemployees);

	/**
	* Save an existing Employee entity
	* 
	 */
	public void saveEmployee(Employee employee);

	/**
	* Delete an existing Sale entity
	* 
	 */
	public Employee deleteEmployeeSales(Integer employee_id_6, Integer related_sales_id);

	/**
	* Save an existing Inspection entity
	* 
	 */
	public Employee saveEmployeeInspections(Integer id_10, Inspection related_inspections);

	/**
	* Delete an existing TaskEmployee entity
	* 
	 */
	public Employee deleteEmployeeTaskEmployees(Integer employee_id_7, Integer related_taskemployees_id);

	/**
	* Delete an existing TaskManage entity
	* 
	 */
	public Employee deleteEmployeeTaskManages(Integer employee_id_8, Integer related_taskmanages_id);

	/**
	* Delete an existing Task entity
	* 
	 */
	public Employee deleteEmployeeTasks(Integer employee_id_9, Integer related_tasks_id);

	/**
	* Delete an existing RoleEmployee entity
	* 
	 */
	public Employee deleteEmployeeRoleEmployees(Integer employee_id_10, Integer related_roleemployees_id);

	/**
	* Delete an existing Feed entity
	* 
	 */
	public Employee deleteEmployeeFeeds(Integer employee_id_11, Integer related_feeds_id);

	/**
	* Delete an existing FodderStorage entity
	* 
	 */
	public Employee deleteEmployeeFodderStorages(Integer employee_id_12, Integer related_fodderstorages_id);

	/**
	* Save an existing Task entity
	* 
	 */
	public Employee saveEmployeeTasks(Integer id_11, Task related_tasks);

	/**
	* Save an existing Prevention entity
	* 
	 */
	public Employee saveEmployeePreventions(Integer id_12, Prevention related_preventions);

	/**
	* Return a count of all Employee entity
	* 
	 */
	public Integer countEmployees();

	/**
	* Save an existing FodderStorage entity
	* 
	 */
	public Employee saveEmployeeFodderStorages(Integer id_13, FodderStorage related_fodderstorages);

	/**
	* Return all Employee entity
	* 
	 */
	public List<Employee> findAllEmployees(Integer startResult, Integer maxRows);

	/**
	* Delete an existing Inspection entity
	* 
	 */
	public Employee deleteEmployeeInspections(Integer employee_id_13, Integer related_inspections_id);

	/**
	* Save an existing Sale entity
	* 
	 */
	public Employee saveEmployeeSales(Integer id_14, Sale related_sales);

	/**
	* Save an existing RoleEmployee entity
	* 
	 */
	public Employee saveEmployeeRoleEmployees(Integer id_15, RoleEmployee related_roleemployees);

	/**
	* Delete an existing MedicineStorage entity
	* 
	 */
	public Employee deleteEmployeeMedicineStorages(Integer employee_id_14, Integer related_medicinestorages_id);

	/**
	* Save an existing MedicineTake entity
	* 
	 */
	public Employee saveEmployeeMedicineTakesForPharmacistId(Integer id_16, MedicineTake related_medicinetakesforpharmacistid);

	/**
	* Delete an existing FodderTake entity
	* 
	 */
	public Employee deleteEmployeeFodderTakesForEmployeeId(Integer employee_id_15, Integer related_foddertakesforemployeeid_id);

	/**
	* Delete an existing Employee entity
	* 
	 */
	public void deleteEmployee(Employee employee_1);

	/**
	* Save an existing FodderTake entity
	* 
	 */
	public Employee saveEmployeeFodderTakesForWarehousekepperId(Integer id_17, FodderTake related_foddertakesforwarehousekepperid);

	/**
	* Delete an existing MedicineTake entity
	* 
	 */
	public Employee deleteEmployeeMedicineTakesForTakerId(Integer employee_id_16, Integer related_medicinetakesfortakerid_id);
}